﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAL;

namespace BLL
{
    public class B_GetData
    {
        public String GetTongXunServer(Int32 iServerType)
        {
            String sServerTongXun = String.Empty;
            switch (iServerType)
            {
                case 101:
                    sServerTongXun = DataSource.sServerTongXun101;
                    break;
                case 102:
                    sServerTongXun = DataSource.sServerTongXun102;
                    break;
            }
            return sServerTongXun;
        }
        public String GetServerDataBase( Int32 iServerType )
        {
            String sServerDataBase = String.Empty;
            switch (iServerType)
            {
                case 101:
                    sServerDataBase =  DataSource.sServerDataBase101;
                    break;
                case 102:
                    sServerDataBase = DataSource.sServerDataBase102;
                    break;
            }
            return sServerDataBase;
        }
    }
}
